package com.iotechn.unimall.data.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.iotechn.unimall.data.domain.FileDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by rize on 2019/7/1.
 */
public interface FileMapper extends BaseMapper<FileDO> {

    public List<String> getFiles(@Param("bizType") Integer bizType, @Param("bizId") Long bizId);

    public Integer insertFile(@Param("files") List<FileDO> files);

}
